import homePage from "../pages/home/homePage.vue";
import b from "../pages/mine/B.vue";
import treeSearchView from '../pages/naviuiDemo/treeSearchView.vue'  //搜索  四级树 搜索后，数据源高亮处理（官方demo）
import treeOneView from '../pages/naviuiDemo/treeOneView.vue'  //搜索  一级树 搜索后，数据源过滤处理

const routes = [
    {name:'homePage',path:'/homePage',component:homePage},
    {name:'b',path:'/b',component:b},
    {name:'treeSearchView',path:'/treeSearchView',component:treeSearchView},
    {name:'treeOneView',path:'/treeOneView',component:treeOneView},

    
]

// const routes = [
//     {name:'homePage',path:'/homePage',component: () => import("@/pages/home/homePage")},
//     {name:'b',path:'/b',component: () => import("@/pages/mine/B")}
// ]

export default routes